<?php
/**
* 微凉晨光博客自用主题
*
* @package Aries Theme
* @author TateLiao
* @version 1.0.0
* @link https://www.tateliao.me/
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
 $this->need('header.php');
?>
<div class="wrap">
    <div class="am-g">
        <?php $this->need('sidebar.php'); ?>
        <div class="am-u-lg-10">
            <div class="am-g">
            	<div class="am-u-sm-12">
            		<div class="main am-cf">
	                <?php $this->need('top.php'); ?>
	                <div class="content" id="masonry">
	                    <div class="am-g am-u-sm-centered">
	                    	<div class="am-u-sm-12" style="padding: 0;">
		                        <?php while($this->next()): ?>
		                            <div class="item">
		                                <div class="item-thumbnail">
		                                    <a href="<?php $this->permalink() ?>" title="<?php $this->title() ?>"><img class="lazy" data-original="<?php showThumbnail($this); ?>" alt="<?php $this->title() ?>" width="300" height="250"></a>
		                                </div>
		                                <div class="item-group">
		                                    <div class="item-top">
		                                        <div class="item-title">
		                                            <h2 class="am-text-truncate"><a href="<?php $this->permalink() ?>" title="<?php $this->title() ?>"><?php $this->title() ?></a></h2>
		                                        </div>
		                                        <div class="item-meta am-text-truncate">
		                                            发表于&nbsp;<?php $this->date('Y-m-d'); ?>&nbsp;|&nbsp;分类于&nbsp;<?php $this->category(','); ?>
		                                        </div>
		                                    </div>
		                                    <div class="item-bottom">
		                                        <div class="item-abstract">
		                                            <p><?php $this->excerpt(55,'……'); ?></p>
		                                        </div>
		                                    </div>
		                                </div>
		                            </div>
		                        <?php endwhile; ?>
	                        </div>
	                    </div>
	                </div>
		                <?php $this->pageNav('&laquo;', '&raquo;',5,'',array('wrapTag' => 'ul', 'wrapClass' => 'am-pagination am-pagination-centered','itemTag' => '','itemTag' => 'li','currentClass' => 'am-active',)); ?>
		            </div>
	            </div>
            </div>
            <?php $this->need('footer.php'); ?>
        </div>
    </div>
</div>